﻿using System;

using SBPweb.PROvibe.Server.Framework.Actors;
using SBPweb.PROvibe.Server.Framework.Session;

namespace SBPweb.PROvibe.Server.Host.Pages
{

    public partial class Default : System.Web.UI.Page
    {

        protected void Page_Load(object sender, EventArgs e)
        {
            SessionManager.Session.Put<DateTime>("lastRefresh", DateTime.Now);
            if (SessionManager.Session.Get<string>("userName") == null)
            {
                SessionManager.Session.Put<string>("userName", "[type username here]");
            }

            //ClientSessionManager.CommunicationChannelSet += new EventHandler(ClientSessionManager_CommunicationChannelSet);
            //scEntry.EntryParameters.Add("Layout", new EntryInitializationParameter());
            //scEntry.EntryParameters.Add("Cuccmuc", new EntryInitializationParameter());

            //ClientSessionManager.CommunicationChannel.SendInitializeLayout();
        }

        //private void ClientSessionManager_CommunicationChannelSet(object sender, EventArgs e)
        //{
        //    ClientSessionManager.CommunicationChannel.SendInitializeLayout();
        //}

        protected void b_Click(object sender, EventArgs e)
        {
        }

    }

}